* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    -webkit-font-smoothing: antialiased;
}
html, input {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.hidden {
    display: none !important;
}
.page{
    width:720px;
    height: 480px;
    position: absolute;
    left:50%;
    margin-left: -360px;
    top:100px;
}
.login {
    background: #000;
}
.login.page .form{
    height: 100px;
    margin-top: -100px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}
.login.page .title,.login.page .usernameInput{
    color:#fff;
    font-weight: 100;
    font-size:200%;
}
.login.page .title{
    margin: 32px 0;
}
.login.page .usernameInput{
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    outline: none;
    padding-bottom: 15px;
    text-align: center;
    width: 400px;
    letter-spacing: 3px;
}

/*聊天室样式*/
.chat{
    padding-bottom: 60px;
    display: none;
}
.messages{
    height: 100%;
    margin: 0;
    overflow-y: scroll;
    padding: 10px 20px 10px 20px;
    list-style: none;
}
.messages{
    font-size: 150%;
}
.log {
    color: gray;
    font-size: 70%;
    margin: 5px;
    text-align: center;
}
.inputMessage{
    border: 10px solid #000;
    bottom: 0;
    height: 60px;
    left: 0;
    outline: none;
    padding-left: 10px;
    position: absolute;
    right: 0;
    width: 100%;
}
.inputMessage{
    font-size: 100%;
}
.username {
    font-weight: 700;
    overflow: hidden;
    padding-right: 15px;
    text-align: right;
}
.messages{
    font-size: 150%;
}
.message.typing .messageBody {
    color: gray;
}